Search

This method searches the directory and returns entities whose names or email addresses or phone numbers matching the specified name; no assumption must be made about the type of entities that may be returned except that they are likely to be limited to one or more subtypes of directoryEntry The returned entities will only contain limited data. More specifically, only the following attributes will be returned.
  • Name
  • All addresses and numbers
  • Default email address and phone number
The matched entities should subsequently be loaded with suitable projections to fetch other data, if required.

list search( String name , Integer maxresults )

Parameters

name
String
the search key; the % (percent) character may be prefixed, suffixed or both for endsWith, beginsWith or contains match respectively.
maxresults
Integer
the result set size which must be equal to or smaller than 250.